<?php 
	session_start();
	include 'db-connection/conn.php';
	$arrImagePath = array();
	$counter=0;
	//$objdb = new bannisterDB();
	//$objdb->connectdb();
	$sqlImgeForSlideshow = "SELECT image_path FROM tbl_homepage_banners";
	$run = mysql_query($sqlImgeForSlideshow);
	while($data=mysql_fetch_array($run))
	{
		//array_push($arrImagePath, $data['image_path']);
		$arrVehicleDetails[$counter]["id"] = $data['id'];
	}
	
	$sqlYoutubeVideoUrl = "SELECT content FROM tbl_youtube_homepage_data";
	$runUrl = mysql_query($sqlYoutubeVideoUrl);
	while($dataUrl=mysql_fetch_array($runUrl))
	{
		$youtubeVideoUrl = stripslashes($dataUrl['content']);
		$youtubeVideoUrl = $youtubeVideoUrl."?wmode=transparent";
	}
?>
<?php
$path = "http://".$_SERVER["HTTP_HOST"];
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


<head>
<title>Ski-Doo, Can-AM, Mercury, Lowe, HarberCraft - GIBBONS MOTOR TOYS</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Gibbons Motor Toys has locations in Gibbons, AB & Salmon Arm, BC. Specializing in sales and service of marine products, snowmobiles, and ATVs from Ski-Doo, Can-Am, Mercury, and Harbercraft." />
<meta name="keywords" content="atv sales, atv dealer, boat dealer, boat sales, mercury motors, outboard motors, four-wheeler, 4 wheeler, snowmobiles, sleds, sled racks, atv parts, atv service alberta, atv service shop, fix atv, fix boat, boat parts, razor, razer, commander, kingfisher, harborcraft boats, gibsons motor toys, Ski-Doo, Can-AM, Mercury, Lowe, HarberCraft, marine sales, fish boat, aluminum boat" /> 
<meta name="robots" content="All" />
<meta name="rating" content="General" />
<meta name="resource-type" content="document" />
<meta name="revisit-after" content="4 Days" />
<meta name="distribution" content="Global" />
<meta name="copyright" content="Copyright Gibbons Motor Toys - gibbonsmotortoys.com All Rights Reserved" />
<link href="gibbons-styles.css" rel="stylesheet" type="text/css">

<script type="text/javascript" src="jqueryui/js/jquery-1.6.4.min.js"></script>
</head>

<body>
<div id="container">
<div id="logo-header" >
<?php include_once 'includes/logoheader-nav.php'; ?>
</div>
<div id="maintable"> 
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
	 <!-- page content -->
		   <tr >
	 <td width="1000" valign="top">
	 	  	<div style="width:1000px;height:18px" ></div>
		  
		  
		  	<div style="float:left;margin-right:35px;width:648px;margin-left:5px;">
		  	<div id="slider" class="nivoSlider" style="border: 3px solid white; width: 650px; position: relative; background: url('./images/gibbons-logo.png') no-repeat scroll 0% 0% transparent;">
				<?php 
		  	if(count($arrImagePath)>0)
		  	{
		  		foreach($arrImagePath as $imgPath)
		  		{
		  			?>
		  				<img src="<?php echo $path.$imgPath; ?>" width="721" height="240" border="1" alt="" />
		  			<?php 
		  		}
		  	}
		  	?>
			 </div>
			  <link rel="stylesheet" href="css/nivo-slider.css" type="text/css" media="screen" />
    		
			  <script type="text/javascript" src="js/jquery.nivo.slider.js"></script>
			  <!-- <script type="text/javascript" src="js/jquery-1.7.1.min.js"></script> -->
			    <script type="text/javascript">
			    $(window).load(function() {
			        $('#slider').nivoSlider();
			    });
			    </script>
		  </div>
		  
		 	<div style="float:right;width:232px;margin-right:4px" >
				 <div style="float:left;line-height:48px" >Follow Us:</div>
				 <div style="float:right;margin-left:6px" ><a href="http://www.youtube.com/user/Bradenmonstergt" target="_blank"><img src="images/youtube-icon.png" width="47" height="48" border="0" alt="Youtube" /></a></div>
				 <div style="float:right;margin-left:6px" ><a href="http://www.twitter.com/GibbonsMotorToy" target="_blank"><img src="images/twitter-icon.png" width="47" height="48" border="0" alt="Twitter" /></a></div>
				 <div style="float:right" ><a href="http://www.facebook.com/gibbonsmotortoys" target="_blank"><img src="images/facebook-icon.png" width="47" height="48" border="0" alt="Facebook" /></a></div>
		 	<div style="clear:both;width:232px;height:18px" ></div>
				<div align="center">
					<iframe src="<?php echo $youtubeVideoUrl; ?>" allowfullscreen frameborder="1" height="172" width="230"></iframe>
				</div>
			</div>



			<div style="clear:both;width:1000px;height:24px" ></div>



			<div style="float:left;width:726px;margin-left:4px" >
			  	<div style="float:left;background-color:#f2e8d9;width:226px;margin-right:24px" ><div style="border:3px solid white;height:266px" ><a href="ski-doo.php"><img src="images/ski-doo-homepg-200.jpg" width="220" height="266" border="0" alt="" /></a></div></div>
			  	<div style="float:left;background-color:#f2e8d9;width:226px;margin-right:24px" ><div style="border:3px solid white;height:266px" ><div class="greysmallertext" style="margin:9px" ><h3 align="center">2012 Boat Shows</h3><a href="boat-shows.php"><img src="images/boat-show-200.jpg" width="200" height="69" border="1" alt="" /></a><br /><br />Come and see Gibbons Motor Toys at a boat show this year - have a summer full of fun on the water!!<br /><br />Check out WHATS NEW for 2012! Hot Deals and Great Selection!<br /><br /><a href="boat-shows.php">View our 2012 Boat Show Schedule</a></div></div></div>
			  	<div style="float:left;background-color:#f2e8d9;width:226px" ><div style="border:3px solid white;height:266px" ><a href="can-am.php"><img src="images/canam-ad-homepg.jpg" width="220" height="266" border="0" alt="" /></a></div></div>
			</div>

			<div style="float:right;width:232px;margin-right:4px;margin-top:3px" >
				<div style="margin-bottom:12px" ><a href="specials.php"><img src="images/homepg-button-4.jpg" width="232" height="58" border="0" alt="" /></a></div>
				<div style="margin-bottom:12px" ><a href="showcase.php"><img src="images/homepg-button-1.jpg" width="232" height="58" border="0" alt="" /></a></div>
				<div style="margin-bottom:12px" ><a href="used-equipment-list.php"><img src="images/homepg-button-2.jpg" width="232" height="58" border="0" alt="" /></a></div>
				<div><a href="trailers.php"><img src="images/homepg-button-3.jpg" width="232" height="58" border="0" alt="" /></a></div>
			
			</div>
		
		
		<div style="clear:both;width:1000px;height:24px" ></div>		    
		  </td>
	 </tr>
	
	 </table>
	 </div>
<div id="footer">
<!-- bottom links -->
<?php 
include "includes/bottom-links.php"
?>
</div>

</div>
</body>



</html>







